package top.huhuiyu.spirngboot2.total.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("tb_file")
public class TbFile implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    private Integer fid;
    private Integer uid;
    private String info;
    private String fileName;
    private long fileSize;
    private String contentType;
    @TableField(updateStrategy = FieldStrategy.NEVER, insertStrategy = FieldStrategy.NEVER)
    private Date created;

}
